package com.zhentao.user.controller;

import org.springframework.util.DigestUtils;

public class Test {
    public static void main(String[] args) {

        String ff="13588996789";
        String falt="abc";
          ff= DigestUtils.md5DigestAsHex((ff+falt).getBytes());
        boolean b = ff.equalsIgnoreCase("eafb7f815c802003c6f04c844d3f8718");
        System.out.println("加密后："+ff);
        System.out.println("是否正确："+b);


    }
}
